package com.abstract02;

/**
 * @ClassName Animal
 * @Description TODO
 * @Author hp
 * @Date 2021/6/16 9:35
 * @Version 1.0
 **/
/**
 * 定义动物，抽象方法吃饭，方法睡觉
 */
public abstract class Animal {
    public abstract void eat();
    public abstract void sleep();
}
